home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / asm1tut.exe / SUBTEMP2.ASM < prev    next >
Assembly Source File  |  1989-10-14  |  3KB  |  67 lines

  1.  
  2. INCLUDE      \pushregs.mac
  3.  
  4. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5. DATASTUFF    SEGMENT   PUBLIC  'DATA'
  6.  
  7.        ; 1 = signed, 2 = unsigned, 3 = binary
  8.        ; 4 = hex, 5 = ascii 
  9.        ; 90h = signed, A0h = unsigned, B0h = binary
  10.        ; C0h = hex, D0h = ascii 
  11.  
  12.     EXTRN ax_byte:BYTE, bx_byte:BYTE, cx_byte:BYTE, dx_byte:BYTE
  13.     EXTRN si_byte:BYTE, di_byte:BYTE, bp_byte:BYTE, sp_byte:BYTE
  14.  
  15. ; + + + + + + + + + + + + + + + START DATA BELOW THIS LINE
  16.  
  17. ; + + + + + + + + + + + + + + + END DATA ABOVE THIS LINE
  18.  
  19. DATASTUFF    ENDS
  20. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  21. CODESTUFF    SEGMENT   PUBLIC  'CODE'
  22.  
  23.        ; **************  ASMHELP.OBJ  INFO
  24.  
  25.        EXTRN  show_regs:NEAR , show_regs_and_wait:NEAR
  26.        EXTRN  set_reg_style:NEAR , set_count:NEAR
  27.        EXTRN  set_blue:NEAR , get_continue:NEAR
  28.        
  29.        EXTRN  get_num:NEAR ,            print_num:NEAR 
  30.        EXTRN  get_string:NEAR ,         print_string:NEAR
  31.        EXTRN  get_ascii_byte:NEAR  ,    print_ascii_byte:NEAR
  32.        EXTRN  get_ascii:NEAR  ,         print_ascii:NEAR
  33.        EXTRN  get_hex_byte:NEAR ,       print_hex_byte:NEAR
  34.        EXTRN  get_hex:NEAR ,            print_hex:NEAR 
  35.        EXTRN  get_binary_byte:NEAR ,    print_binary_byte:NEAR
  36.        EXTRN  get_binary:NEAR ,         print_binary:NEAR
  37.        EXTRN  get_bcd:NEAR   ,          print_bcd:NEAR
  38.        
  39.        EXTRN  get_signed_byte:NEAR ,    print_signed_byte:NEAR
  40.        EXTRN  get_unsigned_byte:NEAR ,  print_unsigned_byte:NEAR
  41.        EXTRN  get_signed:NEAR ,         print_signed:NEAR
  42.        EXTRN  get_unsigned:NEAR ,       print_unsigned:NEAR 
  43.        EXTRN  get_signed_4byte:NEAR ,   print_signed_4byte:NEAR
  44.        EXTRN  get_unsigned_4byte:NEAR , print_unsigned_4byte:NEAR
  45.        EXTRN  get_signed_8byte:NEAR ,   print_signed_8byte:NEAR
  46.        EXTRN  get_unsigned_8byte:NEAR , print_unsigned_8byte:NEAR
  47.  
  48.        ; **************  END ASMHELP.OBJ  INFO
  49.           
  50.        ASSUME cs:CODESTUFF, ds:DATASTUFF
  51.  
  52.        ; If you call one of these subroutines from a 
  53.        ; different file, it must be declared with a
  54.        ; PUBLIC statement. If you call a subroutine in a 
  55.        ; different file, it must be declared with an
  56.        ; EXTRN statement.
  57.  
  58.  
  59. ; + + + + + + + + + + + + START SUBROUTINES BELOW THIS LINE
  60.  
  61. ; + + + + + + + + + + + + END SUBROUTINES ABOVE THIS LINE
  62.  
  63. CODESTUFF    ENDS
  64. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  65.        END
  66.  
  67.